import { Layout } from '@/router/constant'
export default [
  {
    path: '/table',
    name: 'Table',
    component: Layout,
    redirect: '/table/table1',
    meta: {
      title: '列表',
      permission: ['admin', 'user'],
    },
    children: [
      {
        path: '/table/table1',
        name: 'Table1',
        component: () => import('@/views/table/table1/index.vue'),
        meta: {
          title: '父子组件传值',
          permission: ['admin', 'user'],
        },
      },
    ],
  },
]
